﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Littlefish
{
    /// <summary>
    /// Class containing global settings.
    /// </summary>
    public static class App
    {
        /// <summary>
        /// Minimum date used in the application.
        /// </summary>
        public static DateTime MIN_DATE = new DateTime(1900, 1, 1);

        /// <summary>
        /// RefId is a GUID  of 32 characters long and contains only valid
        /// upper-case hexadecimal characters (0-9, A-F) with no spaces or punctuation
        /// </summary>
        public static string GenerateRefId()
        {
            return Guid.NewGuid().ToString("N").ToUpperInvariant();
        }
    }
}
